﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace WpfWordsLearner.Model
{
	public class TestSettingsModel : DependencyObject
	{
		public int WordsCount
		{
			get { return (int)GetValue(WordsCountProperty); }
			set { SetValue(WordsCountProperty, value); }
		}

		// Using a DependencyProperty as the backing store for WordsCount.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty WordsCountProperty =
			DependencyProperty.Register("WordsCount", typeof(int), typeof(TestSettingsModel), new PropertyMetadata(0));


		public string Scope
		{
			get { return (string)GetValue(ScopeProperty); }
			set { SetValue(ScopeProperty, value); }
		}

		// Using a DependencyProperty as the backing store for Scope.  This enables animation, styling, binding, etc...
		public static readonly DependencyProperty ScopeProperty =
			DependencyProperty.Register("Scope", typeof(string), typeof(TestSettingsModel), new PropertyMetadata(string.Empty));

	}
}
